#list()
ss = list('hello') 
print(ss) 

# 切片
print(ss[1:4])

#用户输入一个整数，翻转后输出
s = input("输入一个整数")
lst = list(s)
# print(lst)
lst.reverse()
print(lst)     
# print(lst[::-1])
# print(lst) 

#join()
s2 = ''.join(lst) 
print(int(s2)) 